package com.weic.design.observer;

import com.weic.design.event.SubjectEvent;

/**
 * 妈妈是具体观察者
 */
public class Mother implements Observer{
    @Override
    public void response(SubjectEvent subjectEvent) {
        System.out.println("Mother response fro "+subjectEvent.getSource()+" "+subjectEvent.getMsg());
    }
}
